System and method for controlling work machine

ABSTRACT

A system controls a work machine that loads materials onto a conveyance vehicle. The system includes a controller and a detection device. The controller controls the work machine in an automatic control mode in which work is performed automatically. The detection device detects a presence of a person in a peripheral region of the work machine. The automatic control mode includes a loading mode in which the work machine is caused to move to perform loading work for loading onto the conveyance vehicle, and an other mode other than the loading mode. The controller causes the automatic control mode to transition from the other mode to the loading mode when a predetermined transition condition is satisfied. The predetermined transition condition includes non-detection of a person by the detection device.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a U.S. National stage application of International Application No. PCT/JP2019/010888, filed on Mar. 15, 2019. This U.S. National stage application claims priority under 35 U.S.C. § 119(a) to Japanese Patent Application No. 2018-144229, filed in Japan on Jul. 31, 2018, the entire contents of which are hereby incorporated herein by reference.

BACKGROUND Field of the Invention

The present invention relates to a system and a method for controlling a work machine.

Background Information

There is work which involves digging materials such as soil and the like by a work machine such as a hydraulic excavator and loading the materials onto a conveyance vehicle such as a dump truck. The conveyance vehicle is loaded with the materials at a predetermined loading position. The conveyance vehicle travels to a predetermined dumping position and dumps the materials at the dumping position. The conveyance vehicle then returns to the loading position and materials are loaded again by the work machine onto the conveyance vehicle.

Conventionally, a technique for performing the above loading work by the work machine with automatic control is known. For example, Japanese Patent Laid-Open No. 2000-192514 indicates that the digging position and the unloading position are previously learned by a controller of the work machine. The controller controls the work machine so as to perform digging at the digging position, cause the work machine to rotate from the digging position to the unloading position, and unload materials at the unloading position.

SUMMARY

The work machine operates automatically when the loading work is performed with the automatic control. However, such automatic operation is preferably performed while taking into account the peripheral environment.

The present invention provides a technique with which loading work can be performed automatically by a work machine while taking into account the peripheral environment.

A system according to a first aspect is a system for controlling a work machine that loads materials onto a conveyance vehicle. The system includes a controller and a detection device. The controller controls the work machine in an automatic control mode in which work is performed automatically. The detection device detects presence of a person in a peripheral region of the work machine. The automatic control mode includes a loading mode and a mode other than the loading mode. In the loading mode, the controller causes the work machine to operate so as to perform loading work for loading onto the conveyance vehicle. The controller causes the automatic control mode to transition from the other mode to the loading mode when a predetermined transition condition is satisfied. The predetermined transition condition includes the non-detection of a person by the detection device.

A method according to a second aspect is a method for controlling a work machine that loads materials onto a conveyance vehicle. The method includes the following processes. A first process is to detect presence of a person in a peripheral region of the work machine is performed. A second process is to allow a start of an operation for loading work onto the conveyance vehicle by the work machine when the presence of a person is not detected. A third process is not to allow the start of the operation for the loading work onto the conveyance vehicle by the work machine when the presence of a person is detected.

In the present invention, the transition condition for transiting from the other mode to the loading mode includes the non-detection of a person in the peripheral region of the work machine. As a result, the automatic control mode can transition from the other mode to the loading mode after it has been confirmed that no person is in the periphery of the work machine based on the detection result of the detection device. Consequently, the loading work by the work machine is performed with the automatic control and safety during the loading work is further improved.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a plan view illustrating an example of a work site where a work machine is used.

FIG. 2 is a side view of the work machine.

FIG. 3 is a block diagram illustrating a configuration of the work machine.

FIG. 4 is a side view of a conveyance vehicle.

FIG. 5 is a block diagram illustrating a configuration of the conveyance vehicle.

FIG. 6 is a flowchart illustrating processes in a standby mode.

FIG. 7 is a flowchart illustrating processes in a loading mode.

FIG. 8 is a flowchart illustrating processes in the loading mode.

FIG. 9 is a flowchart illustrating processes in the in loading mode.

FIG. 10 is a plan view schematically illustrating conditions of the work site during an automatic control mode.

FIG. 11 is a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 12 is a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 13 a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 14 is a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 15 is a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 16 is a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 17 is a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 18 is a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 19 is a view illustrating an example of an image captured by a first camera or a second camera.

FIG. 20 is a view illustrating an example of an image captured by the first camera.

FIG. 21 is a diagram illustrating the extent of materials that can be dug by the work machine at the current position.

FIG. 22 is a diagram illustrating an example of a cross section of the current topography and a digging path.

FIG. 23 is a view illustrating an example of an image captured by the first camera.

FIG. 24 is a diagram illustrating a range for detecting the presence of a person according to another embodiment.

DETAILED DESCRIPTION OF EMBODIMENT(S)

A control system of a work machine 1 according to an embodiment will now be described with reference to the drawings. FIG. 1 is a plan view illustrating an example of a work site where the work machine 1 is used. The work machine 1 and a conveyance vehicle 2 are disposed at the work site. The work machine 1 performs work in cooperation with the conveyance vehicle 2 with automatic control.

In the present embodiment, the work machine 1 is a hydraulic excavator. The conveyance vehicle 2 is a dump truck. The work machine 1 is disposed beside a predetermined digging position L1 in the work site. The conveyance vehicle 2 travels back and forth between a predetermined loading position L2 and a predetermined dumping position L3 in the work site. The work machine 1 digs the digging position L1 with automatic control and loads materials such as soil and the like as a target to be dug onto the conveyance vehicle 2 that is stopped at the loading position L2. The conveyance vehicle 2 loaded with the materials travels to the dumping position L3 and unloads the materials at the dumping position L3. Another work machine 3 such as a bulldozer is disposed at the dumping position L3 and spreads the materials unloaded at the dumping position L3. The conveyance vehicle 2 that has unloaded the materials travels to the loading position L2 and the work machine 1 loads again the materials onto the conveyance vehicle 2 that is stopped at the loading position L2. The materials of the digging position L1 are transported to the dumping position L3 by repeating the above work.

FIG. 2 is a side view of the work machine 1. As illustrated in FIG. 2, the work machine 1 includes a vehicle body 11 and a work implement 12. The vehicle body 11 includes a rotating body 13 and a traveling body 14. The rotating body 13 is rotatably attached to the traveling body 14. A cab 15 is disposed on the rotating body 13. However, the cab 15 may be omitted. The traveling body 14 includes crawler belts 16. The crawler belts 16 are driven by driving force from an engine 24 described later, whereby the work machine 1 travels.

The work implement 12 is attached to the front part of the vehicle body 11. The work implement 12 includes a boom 17, an arm 18, and a bucket 19. The boom 17 is attached to the rotating body 13 so as to allow movement in the up and down direction. The arm 18 is movably attached to the boom 17. The bucket 19 is movably attached to the arm 18. The work implement 12 includes a boom cylinder 21, an arm cylinder 22, and a bucket cylinder 23. The boom cylinder 21, the arm cylinder 22, and the bucket cylinder 23 are hydraulic cylinders and are driven by hydraulic fluid from a hydraulic pump 25 described later. The boom cylinder 21 actuates the boom 17. The arm cylinder 22 actuates the arm 18. The bucket cylinder 23 actuates the bucket 19.

FIG. 3 is a block diagram illustrating a configuration of a control system of the work machine 1. As illustrated in FIG. 3, the work machine 1 includes an engine 24, a hydraulic pump 25, a power transmission device 26, and a controller 27.

The engine 24 is controlled by command signals from the controller 27. The hydraulic pump 25 is driven by the engine 24 to discharge hydraulic fluid. The hydraulic fluid discharged from the hydraulic pump 25 is supplied to the boom cylinder 21, the arm cylinder 22, and the bucket cylinder 23.

The work machine 1 includes a rotation motor 28. The rotation motor 28 is a hydraulic motor and is driven by hydraulic fluid from the hydraulic pump 25. The rotation motor 28 rotates the rotating body 13. While only one hydraulic pump 25 is illustrated in FIG. 2, a plurality of hydraulic pumps may be provided.

A pump control device 29 is connected to the hydraulic pump 25. The hydraulic pump 25 is a variable displacement pump. The pump control device 29 controls the inclination angle of the hydraulic pump 25. The pump control device 29 includes, for example, an electromagnetic valve and is controlled by command signals from the controller 27. The controller 27 controls the displacement of the hydraulic pump 25 by controlling the pump control device 29.

The hydraulic pump 25, the cylinders 21 to 23, and the rotation motor 28 are connected to each other by means of a hydraulic circuit via a control valve 31. The control valve 31 is controlled by command signals from the controller 27. The control valve 31 controls the flow rate of the hydraulic fluid supplied from the hydraulic pump 25 to the cylinders 21 to 23 and the rotation motor 28. The controller 27 controls the operation of the work implement 12 by controlling the control valve 31. The controller 27 also controls the rotation of the rotating body 13 by controlling the control valve 31.

The power transmission device 26 transmits driving force from the engine 24 to the traveling body 14. The power transmission device 26 may be, for example, a torque converter or a transmission having a plurality of transmission gears. Alternatively, the power transmission device 26 may be another type of transmission such as a hydro static transmission (HST) or a hydraulic mechanical transmission (HMT).

The controller 27 is programmed so as to control the work machine 1 based on acquired data. The controller 27 causes the work machine 1 to travel by controlling the engine 24, the traveling body 14, and the power transmission device 26. The controller 27 causes the work implement 12 to operate by controlling the engine 24, the hydraulic pump 25, and the control valve 31.

The controller 27 includes a processor 271 such as a CPU or GPU, and a storage device 272. The processor 271 performs processing for the automatic control of the work machine 1. The storage device 272 includes a memory such as RAM or a ROM, and an auxiliary storage device such as a hard disk drive (HDD) or a solid state drive (SSD). The storage device 272 stores data and programs for the automatic control of the work machine 1.

The work machine 1 includes load sensors 32 a to 32 c. The load sensors 32 a to 32 c detect a load applied to the work implement 12 and output load data indicative of the load. In the present embodiment, the load sensors 32 a to 32 c are hydraulic pressure sensors and detect the hydraulic pressures of the cylinders 21 to 23, respectively. The load data indicates the hydraulic pressures of the cylinders 21 to 23. The controller 27 is communicably connected to the load sensors 32 a to 32 c by wire or wirelessly. The controller 27 receives the load data from the load sensors 32 a to 32 c.

The work machine 1 includes a position sensor 33, work implement sensors 34 a to 34 c, and a rotation angle sensor 39. The position sensor 33 detects the position of the work machine 1 and outputs position data indicative of the position of the work machine 1. The position sensor 33 includes a global navigation satellite system (GNSS) receiver and an inertial measurement unit (IMU). The GNSS receiver is, for example, a receiver for a global positioning system (GPS). The position data includes data indicative of the position of the work machine 1 output by the GNSS receiver and data indicative of the attitude of the vehicle body 11 output by the IMU. The attitude of the vehicle body 11 includes an angle (pitch angle) with respect to the horizontal in the longitudinal direction of the work machine 1 and an angle (roll angle) with respect to the horizontal in the lateral direction of the work machine 1.

The work implement sensors 34 a to 34 c detect the attitude of the work implement 12 and output attitude data indicative of the attitude of the work implement 12. The work implement sensors 34 a to 34 c are, for example, stroke sensors that detect the stroke amounts of the cylinders 21 to 23. The attitude data of the work implement 12 includes the stroke amounts of the cylinders 21 to 23. Alternatively, the work implement sensors 34 a to 34 c may be other sensors such as sensors that detect the rotation angles of the boom 17, the arm 18, and the bucket 19, respectively. The rotation angle sensor 39 detects the rotation angle of the rotating body 13 with respect to the traveling body 14 and outputs rotation angle data indicative of the rotation angle.

The controller 27 is communicably connected to the position sensor 33, the work implement sensors 34 a to 34 c, and the rotation angle sensor 39 by wire or wirelessly. The controller 27 receives the position data of the work machine 1, the attitude data of the work implement 12, and the rotation angle data from the position sensor 33, the work implement sensors 34 a to 34 c, and the rotation angle sensor 39, respectively. The controller 27 calculates the blade tip position of the bucket 19 from the position data, the attitude data, and the rotation angle data. For example, the position data of the work machine 1 indicates the global coordinates of the position sensor 33. The controller 27 calculates the global coordinates of the blade tip position of the bucket 19 from the global coordinates of the position sensor 33 based on the attitude data of the work implement 12 and the rotation angle data.

The work machine 1 includes a topography sensor 35. The topography sensor 35 measures a topography in a periphery of the work machine 1 and outputs topography data indicative of the topography measured by the topography sensor 35. In the present embodiment, the topography sensor 35 is attached to a side part of the rotating body 13. The topography sensor 35 measures the topography located to the side of the rotating body 13. The topography sensor 35 is, for example, a laser imaging detection and ranging (LIDAR) device. The LIDAR device measures the distances to a plurality of measurement points on the topography by irradiating a laser and measuring the reflected light thereof. The topography data indicates the positions of the measurement points with respect to the work machine 1.

The work machine 1 includes a first camera 36 and a plurality of second cameras 37. The first camera 36 faces forward from the rotating body 13 and is attached to the rotating body 13. The first camera 36 captures toward the front of the rotating body 13. The first camera 36 is a stereo camera. The first camera 36 outputs first image data indicative of captured moving images.

The plurality of second cameras 37 are attached to the rotating body 13 and facing left, right, and rear from the rotating body 13. The second cameras 37 output second image data indicative of captured moving images. The second cameras 37 may be single-lens cameras. Alternatively, the second cameras 37 may be stereo cameras in the same way as the first camera 36. The controller 27 is communicably connected to the first camera 36 and the second cameras 37 by wire or wirelessly. The controller 27 receives the first image data from the first camera 36. The controller 27 receives the second image data from the second cameras 37.

The work machine 1 includes a communication device 38. The communication device 38 performs data communication with a device outside the work machine 1. The communication device 38 performs data communication with a remote computer apparatus 4 outside the work machine 1. The remote computer apparatus 4 may be disposed at the work site. Alternatively, the remote computer apparatus 4 may be disposed at a management center remote from the work site. The remote computer apparatus 4 includes a display 401 and an input device 402.

The display 401 displays images related to the work machine 1. The display 401 displays images corresponding to signals received from the controller 27 via the communication device 38. The input device 402 is operated by an operator. The input device 402 may include, for example, a touch screen or may include hardware keys. The remote computer apparatus 4 transmits signals indicative of commands input by the input device 402, to the controller 27 via the communication device 38. The communication device 38 performs data communication with the conveyance vehicle 2.

FIG. 4 is a side view of the conveyance vehicle 2. As illustrated in FIG. 4, the conveyance vehicle 2 includes a vehicle body 51, a traveling body 52, and a bed 53. The vehicle body 51 is supported by the traveling body 52. The traveling body 52 includes crawler belts 54. The crawler belts 54 are driven by the driving force from an engine 55 described later, whereby the conveyance vehicle 2 travels. The bed 53 is supported by the vehicle body 51. The bed 53 is configured to move between a dumping attitude and a conveying attitude. In FIG. 4, the bed 53 indicated by a solid line indicates the position of the bed 53 in the conveying attitude. The bed 53 indicated by a chain double-dashed line indicates the position of the bed 53 in the dumping attitude. In the conveying attitude, the bed 53 is disposed approximately horizontally. In the dumping attitude, the bed 53 is inclined with respect to the conveying attitude.

FIG. 5 is a block diagram illustrating a configuration of a control system of the conveyance vehicle 2. The conveyance vehicle 2 includes an engine 55, a hydraulic pump 56, a power transmission device 57, a lift cylinder 58, a rotation motor 59, a controller 61, and a control valve 62. The controller 61 includes a processor 611, a volatile storage unit 612, and a non-volatile storage unit 613.

The engine 55, the hydraulic pump 56, the power transmission device 57, the controller 61, and the control valve 62 have the same configurations as the engine 24, the hydraulic pump 25, the power transmission device 26, the controller 27, and the control valve 31 of the work machine 1, respectively. Therefore, detailed explanations thereof are omitted.

The lift cylinder 58 is a hydraulic cylinder. The rotation motor 59 is a hydraulic motor. The hydraulic fluid discharged from the hydraulic pump 56 is supplied to the lift cylinder 58 and the rotation motor 59. The lift cylinder 58 and the rotation motor 59 are driven by hydraulic fluid from the hydraulic pump 56. The lift cylinder 58 raises and lowers the bed 53. Consequently, the attitude of the bed 53 is switched between the conveying attitude and the dumping attitude. The rotation motor 59 causes the vehicle body 51 to rotate with respect to the traveling body 52. The controller 61 controls the lift cylinder 58 by means of the control valve 62 thereby controlling the operation of the bed 53. In addition, the controller 61 controls the rotation motor 59 by means of the control valve 62 thereby controlling the rotation of the vehicle body 51.

The conveyance vehicle 2 includes a position sensor 63, a bed sensor 64, and a rotation angle sensor 65. The position sensor 63 outputs position data in the same way as the position sensor 33 of the work machine 1. The position data includes data indicative of the position of the conveyance vehicle 2 and data indicative of the attitude of the vehicle body 51.

The bed sensor 64 detects the attitude of the bed 53 and outputs bed data indicative of the attitude of the bed 53. The bed sensor 64 is, for example, a stroke sensor that detects the stroke amount of the lift cylinder 58. The bed data includes the stroke amount of the lift cylinder 58. Alternatively, the bed sensor 64 may be another type of sensor such as a sensor that detects the inclination angle of the bed 53. The rotation angle sensor 65 detects the rotation angle of the vehicle body 51 with respect to the traveling body 52 and outputs rotation angle data indicative of the rotation angle.

The controller 61 is communicably connected to the position sensor 63, the bed sensor 64, the rotation angle sensor 65 by wire or wirelessly. The controller 61 receives the position data, the bed data, and the rotation angle data from the position sensor 63, the bed sensor 64, and the rotation angle sensor 65, respectively.

The conveyance vehicle 2 includes a communication device 66. The controller 61 of the conveyance vehicle 2 performs data communication with the controller 27 of the work machine 1 via the communication device 66. The controller 61 of the conveyance vehicle 2 transmits the position data, the bed data, and the rotation angle data of the conveyance vehicle 2 via the communication device 66. The controller 27 of the work machine 1 receives the position data, the bed data, and the rotation angle data of the conveyance vehicle 2 via the communication device 38. The controller 27 of the work machine 1 stores vehicle dimension data indicative of the dispositions and the dimensions of the vehicle body 51 and the bed 53 of the conveyance vehicle 2. The controller 27 calculates the position of the bed 53 from the position data, the bed data, the rotation angle data, and the vehicle dimension data of the conveyance vehicle 2.

Next, the processing of the automatic control mode executed by the controller 27 of the work machine 1 will be described. In the automatic control mode, the controller 27 controls the work machine 1 so that the abovementioned digging and loading work is performed automatically. FIGS. 6 to 9 are flowcharts illustrating the processing of the automatic control mode.

The automatic control mode includes a loading mode and modes other than the loading mode. Another mode in the present embodiment is a standby mode. In the standby mode, the controller 27 causes the work machine 1 to wait on standby until the conveyance vehicle 2 has arrived at the loading position L2 and stopped. In addition to the standby mode, the other modes may include modes such as a mode for gathering fallen materials, a digging mode for digging another region and further increasing the materials, or the like.

In the loading mode, the controller 27 causes the work machine 1 to operate so as to perform loading work onto the conveyance vehicle 2 when the conveyance vehicle 2 is stopped at the loading position L2. FIG. 6 is a flowchart illustrating processes in the standby mode. FIGS. 7 to 9 are flowcharts illustrating processes in the loading mode. FIGS. 10 to 18 are plan views schematically illustrating conditions of the work site during the automatic control mode.

When receiving a starting command of the automatic control mode, the controller 27 starts the engine 24 of the work machine 1 and executes the processes of the standby mode illustrated in FIG. 6. As illustrated in FIG. 10, the starting command of the automatic control mode is output from the abovementioned remote computer apparatus 4 due to, for example, the operator operating the input device 402 of the remote computer apparatus 4. The controller 27 receives the starting command through the communication device 38. In addition, the conveyance vehicle 2 also receives the starting command of the automatic control mode. Upon receiving the starting command of the automatic control mode, the conveyance vehicle 2 starts moving toward the loading position L2.

As illustrated in FIG. 6, in step S101, the controller 27 causes the work machine 1 to wait on standby in a waiting attitude for unloading. That is, in the standby mode, the controller 27 maintains the work implement 12, the rotating body 13, and the traveling body 14 in the waiting attitude for unloading. As illustrated in FIG. 10, in the waiting attitude for unloading, the work implement 12 is disposed so as to face the loading position L2. That is, in the waiting attitude for unloading, the front of the rotating body 13 faces the loading position L2. In addition, in the waiting attitude for unloading, the bucket 19 is disposed in a position higher than the height of the bed 53 of the conveyance vehicle 2.

In step S102, the controller 27 acquires the position of the work machine 1. Here, the controller 27 acquires the position data of the work machine 1, the attitude data of the work implement 12, and the rotation angle data from the position sensor 33, the work implement sensors 34 a to 34 c, and the rotation angle sensor 39, respectively. The controller 27 calculates the blade tip position of the bucket 19 from the position data, the attitude data, and the rotation angle data.

In step S103, the controller 27 acquires image data. Here, the controller 27 acquires the first image data indicative of moving images in front of the rotating body 13 from the first camera 36. The controller 27 acquires the second image data indicative of moving images to the both sides and to the rear side from the rotating body 13, from the second cameras 37. The first camera 36 and the second cameras 37 constantly capture images to generate the first image data and the second image data at least during the execution of the automatic control mode. The controller 27 acquires the first image data and the second image data in real time from the first camera 36 and the second cameras 37 at least during the execution of the automatic control mode.

In step S104, the controller 27 executes image processing 1. The image processing 1 detects the presence of a person in the periphery of the work machine 1 with image recognition technology based on the first image data and the second image data. Therefore, the first camera 36 and the second cameras 37 correspond to a person detection device that detects the presence of a person in a region in the periphery of the work machine 1.

The controller 27 detects the presence of a person in the images indicated by the first image data and the second image data by using, for example, image recognition technology that uses artificial intelligence (AI). FIG. 19 is a view illustrating an example of an image captured by the first camera 36 or the second cameras 37. As illustrated in FIG. 19, when a person is included in the images indicated by the first image data or the second image data, the controller 27 recognizes and detects a person in the images. In step S105, the controller 27 determines whether the presence of a person in the periphery of the wok machine 1 is detected. When the presence of a person is not detected, the processing proceeds to step S106.

In step S106, the controller 27 executes image processing 2. In the image processing 2, the controller 27 detects the presence of the conveyance vehicle 2 with the image recognition technology based on the first image data. Therefore, the first camera 36 corresponds to a vehicle detection device that detects an approach of the conveyance vehicle 2 toward the work machine 1. The image recognition technology is the same as in step S104. As illustrated in FIG. 11, the controller 27 detects the presence of the conveyance vehicle 2 when the conveyance vehicle 2 has reached the image capturing range of the first camera 36.

FIG. 20 is a view illustrating an example of an image captured by the first camera 36 when the conveyance vehicle 2 has reached the image capturing range of the first camera. As illustrated in FIG. 20, when the conveyance vehicle 2 is included in the images indicated by the first image data, the controller 27 recognizes and detects the conveyance vehicle 2 in the images.

In step S107, the controller 27 communicates with the conveyance vehicle 2. Here, the controller 27 receives the position data of the conveyance vehicle 2 from the conveyance vehicle 2 via the communication device 38. The controller 27 also receives the bed data and the rotation angle data from the conveyance vehicle 2 via the communication device 38.

In step S108, the controller 27 determines whether the approach of the conveyance vehicle 2 is detected. The controller 27 determines that the approach of the conveyance vehicle 2 is detected when the distance from the work machine 1 to the conveyance vehicle 2 is equal to or less than a predetermined threshold. The controller 27 calculates the distance from the work machine 1 to the conveyance vehicle 2 by analyzing the first image data. Alternatively, the controller 27 may calculate the distance from the work machine 1 to the conveyance vehicle 2 from the position data of the work machine 1 and the position data of the conveyance vehicle 2. When the approach of the conveyance vehicle 2 is detected, the processing proceeds to step S201 illustrated in FIG. 7. That is, the controller 27 causes the automatic control mode to transition from the standby mode to the loading mode.

The fact that no person is detected in step S105 and the fact that the approach of the conveyance vehicle 2 is detected in step S108 represent the transition condition for causing the automatic control mode to transition from the standby mode to the loading mode. The controller 27 causes the automatic control mode to transition from the standby mode to the loading mode when the transition condition is satisfied. The controller 27 does not cause the automatic control mode to transition from the standby mode to the loading mode and maintains the standby mode when the transition condition is not satisfied. The transition condition may also include other conditions.

When the controller 27 does not detect the approach of the conveyance vehicle 2 in step S108, the processing proceeds to step S109. In step S109, the controller 27 determines whether a finishing signal is received. The finishing signal is transmitted from the remote computer apparatus 4. The finishing signal is transmitted from the remote computer apparatus 4 to the controller 27 due to the operator operating the input device 402. Upon receiving the finishing signal, the controller 27 finishes the automatic control mode. When the automatic control mode is finished, the controller 27 stops the engine 24 of the work machine 1. In addition, the controller 61 of the conveyance vehicle 2 stops the conveyance vehicle 2 upon receiving the finishing signal.

As illustrated in FIG. 12, when a person 100 has intruded into the periphery of the work machine 1, the controller 27 detects the presence of the person 100 in step S105. When the controller 27 detects the presence of the person 100, the processing proceeds to step S110. In step S110, the controller 27 outputs a warning signal so as to cause an output device to output a warning. In the present embodiment, the output device is the remote computer apparatus 4. Upon receiving the warning signal, the remote computer apparatus 4 displays a message or an image indicative of the warning on the display 401. The remote computer apparatus 4 may output a sound which represents the warning upon receiving the warning signal.

The output device is not limited to the remote computer apparatus 4 and may be another device. For example, the output device may be a warning lamp or a loudspeaker attached to the work machine 1 or disposed on the outside of the work machine 1. The controller 27 may output a command signal so as to illuminate the warning lamp or emit a warning sound from the loudspeaker when the presence of a person is detected.

The controller 27 determines whether the finishing signal is received in step S109 after causing the output device to output the warning signal in step S110. When the finishing signal is received, the controller 27 stops the automatic control mode. When the finishing signal is not received, the controller 27 maintains the automatic control mode in the standby mode.

When detecting the presence of a person in the periphery of the work machine 1 in the standby mode, the controller 27 does not transition the automatic control mode to the loading mode and maintains the standby mode even when detecting the approach of the conveyance vehicle 2. When detecting the presence of a person during the loading mode described later, the controller 27 stops the operations of the work implement 12 and the rotating body 13.

In addition, when detecting the presence of a person, the controller 27 may transmit a command signal to stop the conveyance vehicle 2 to the controller 61 of the conveyance vehicle 2 in either of the standby mode or the loading mode. After the presence of a person has been detected and the work machine 1 and the conveyance vehicle 2 have been stopped by the controller 27, the controller 27 may restart the operations of the work machine 1 and the conveyance vehicle 2 upon receiving a starting command for the automatic control mode from the remote computer apparatus 4 due to an operation by an operator.

Next, the processing in the loading mode will be explained. In the loading mode, the controller 27 performs digging by the work implement 12 at the predetermined digging position L1, causes the work implement 12 to rotate with the rotating body 13 from the digging position L1 toward the loading position L2, and unloads the materials from the work implement 12 at the loading position L2 to perform the loading work. As illustrated in FIG. 7, in the loading mode, the controller 27 measures a topography in step S201. Here, as illustrated in FIG. 13, the topography sensor 35 measures the topography of the digging position L1 located on a side of the work machine 1. The controller 27 acquires topography data indicative of the topography of the digging position L1 measured by the topography sensor 35.

The controller 27 determines whether the rotating body 13 is stopped or operating, and when determining that the rotating body 13 is stopped, the controller 27 may measure the topography by the topography sensor 35. The topography sensor 35 moves with the rotating body 13 while the rotating body 13 is operating. As a result the accuracy of the measuring of the topography by the topography sensor 35 is reduced. Therefore, when it is determined that the rotating body 13 is stopped, the measurement of the topography by the topography sensor 35 is performed and thereby the measuring of the topography can be performed with greater accuracy.

In step S202, the controller 27 determines whether the digging amount can be secured. Here, the controller 27 determines whether the materials of a predetermined amount or more can be acquired by digging when the work implement 12 and the rotating body 13 are operated at the current position of the work machine 1. For example, as illustrated in FIG. 21, the controller 27 calculates the amount of the materials that can be dug at the current position from the trajectory of the work implement 12 when the work implement 12 and the rotating body 13 are operated at the current position of the work machine 1 and from the topography of the digging position L1 indicated by the topography data. In FIG. 21, hatching is applied to the extent that can be dug when the work implement 12 is operated. The controller 27 determines that the digging amount can be secured when the amount of the materials that can be dug is equal to or greater than a predetermined threshold. When the controller 27 determines that the digging amount cannot be secured, the processing proceeds to step S203.

In step S203, the controller 27 adjusts the position of the work machine 1. For example, the controller 27 causes the work machine 1 to move forward or backward a predetermined distance. Then, the controller 27 measures the topography again in step S201 and determines whether the digging amount can be secured in step S202.

When the controller 27 determines that the digging amount can be secured in step S202, the processing proceeds to step S204. In step S204, the controller 27 calculates a possible loading weight. The controller 27 stores the maximum loading weight that can be loaded onto the conveyance vehicle 2. The controller 27 calculates the possible loading weight from the maximum loading weight and the weight of the materials already loaded onto the conveyance vehicle 2.

In step S205, the controller 27 establishes a loading plan. Here, the controller 27 determines a digging path PA1 (in FIG. 22) and a target rotation angle TA1 (in FIG. 14) from the current position of the work machine 1, the topography data, and a target volume. The digging path PA1 is a target trajectory of the blade tip of the work implement 12. The controller 27 determines the digging path PA1 from the current position of the work machine 1 and the topography data so that the amount of the materials to be dug by the work implement 12 matches the target volume.

As described later, the controller 27 is able to calculate the weight of the materials held in the bucket 19 by digging. The controller 27 accumulates the weight of the materials in the bucket 19 for each unloading onto the conveyance vehicle 2, whereby the controller is able to understand the loading amount onto the conveyance vehicle 2. The loading amount onto the conveyance vehicle 2 is zero at the time of the first digging.

FIG. 22 is a diagram illustrating an example of a cross section of a current topography T1 and the digging path PAL As illustrated in FIG. 22, the controller 27 determines the digging path PA1 so that the volume between the surface of the current topography T1 and the digging path PA1 (hatched portion in FIG. 22) matches the target volume. The digging path PA1 includes a digging start point S1 and a digging end point E1. The digging start point S1 and the digging end point E1 are intersections between the surface of the topography T1 and the digging path PAL For example, the digging start point S1 is positioned further away from the work machine 1 than the digging end point E1. The controller 27 calculates the position of the digging start point S1 and determines the target rotation angle TA1 from the digging start point S1.

The controller 27 determines the target volume according to the possible loading weight. The controller 27 calculates the specific gravity of the materials as described later and converts the possible loading weight to a volume based on the specific gravity. The controller 27 calculates a possible loading capacity from the possible loading weight and calculates the target volume based on the possible loading capacity.

Specifically, when the possible loading capacity is equal to or greater than the digging capacity of the bucket 19, the controller 27 determines the digging capacity of the bucket 19 as the target volume. The digging capacity of the bucket 19 is stored in the storage device 272. When the possible loading capacity is less than the digging capacity of the bucket 19, the controller 27 determines the possible loading capacity as the target volume. The specific gravity or the target volume may be a predetermined initial value when the digging is executed the first time.

In step S206, the controller 27 executes an automatic down rotation. Here, as illustrated in FIG. 14, the controller 27 causes the rotating body 13 to rotate from the position in the waiting attitude for unloading toward the digging start point S1 by the target rotation angle TA1, and causes the blade tip of the work implement 12 to be lowered from the height in the waiting attitude for unloading toward the height of the digging start point S1.

In step S207, the controller 27 executes automatic digging. Here, the controller 27 controls the work implement 12 so that the blade tip of the work implement 12 moves along the digging path PA1 determined in the digging plan.

In step S208, the controller 27 modifies the position data of the work machine 1. Here, the controller 27 reacquires the position data of the work machine 1, the attitude data of the work implement 12, and the rotation angle data from the position sensor 33, the work implement sensors 34 a to 34 c, and the rotation angle sensor 39, respectively, and modifies the position of the work machine 1 acquired in step S102.

In step S209, the controller 27 establishes an unloading plan. Here, the controller 27 determines a target rotation angle TA2 and an unloading position P1 from the current position of the work machine 1 and the bed position of the conveyance vehicle 2. The unloading position P1 indicates the position of the blade tip of the bucket 19 in the waiting attitude for unloading. The bed position of the conveyance vehicle 2 indicates the position of the bed 53 while the conveyance vehicle 2 is positioned at the loading position L2. The controller 27 may store a predetermined bed position. Alternatively, the controller 27 may calculate the bed position from the loading position L2 and the vehicle dimension data of the conveyance vehicle 2. The controller 27 determines the unloading position P1 so that the work implement 12 faces toward the bed 53 and the blade tip is positioned a predetermined distance above the bed 53.

In step S210, the controller 27 executes an automatic hoist rotation. Here, as illustrated in FIG. 15, the controller 27 causes the rotating body 13 to rotate toward the unloading position P1 by the target rotation angle TA2, and causes the blade tip of the work implement 12 to be raised toward the unloading position P1.

In step S211, the controller 27 measures the weight of the materials dug by the work implement 12 and held by the bucket 19. Here, the controller 27 acquires load data indicative of the load applied to the work implement 12. The controller 27 calculates the weight of the materials based on the load data.

Further, the controller 27 calculates the specific gravity of the materials from the topography data before digging, the digging path PA1, and the load data. The digging path PA1 corresponds to the topography after digging. Therefore, the controller 27 calculates the volume of the materials dug by the work implement 12 from the topography data before digging and the digging path PAL The controller 27 calculates the specific gravity of the materials from the volume of the materials and the weight of the materials calculated from the load data.

In step S301 illustrated in FIG. 8, the controller 27 determines a state of the work machine 1. Here, the controller 27 determines whether the work machine 1 is operating or stopped. The controller 27 determines that the work machine 1 is operating when at least one of the traveling body 14, the rotating body 13, and the work implement 12 is operating. The controller 27 determines that the work machine 1 is stopped when the blade tip of the work implement 12 reaches the unloading position P1 and all the traveling body 14, the rotating body 13, and the work implement 12 are stopped. Alternatively, the controller 27 may determine that the work machine 1 is stopped when the rotating body 13 and the traveling body 14 are stopped.

When the work machine 1 is stopped, the controller 27 executes image processing 3 in step S302. In the image processing 3, the controller 27 detects the conveyance vehicle 2 with image recognition technology based on the first image data. In addition, the controller 27 communicates with the conveyance vehicle 2 in step S303. Here, the controller 27 receives the position data, the bed data, and the rotation angle data of the conveyance vehicle 2 via the communication device 38 in the same way as in step S107.

In step S304, the controller 27 then determines a state of the conveyance vehicle 2. Here, the controller 27 determines whether the conveyance vehicle 2 is operating or stopped at the loading position L2. The controller 27 determines that the conveyance vehicle 2 is operating when the conveyance vehicle 2 is traveling or when the bed 53 is rotating. The controller 27 determines that the conveyance vehicle 2 is stopped when the conveyance vehicle 2 is stopped at the loading position L2 as illustrated in FIG. 16 and the bed 53 is not rotating and is stopped.

When the work machine 1 is stopped in step S301, the controller 27 determines a state of the conveyance vehicle 2 based on the image processing 3 and the position data of the conveyance vehicle 2 in step S304. Therefore, the first camera 36 and the position sensor 33 correspond to a detection device that detects the operation of the conveyance vehicle 2. The controller 27 determines whether the conveyance vehicle 2 is stopped based on the first image data. Further, the controller 27 determines whether the conveyance vehicle 2 is stopped based on the position data of the conveyance vehicle 2. That is, the first image data and the position data of the conveyance vehicle 2 correspond to operation data indicative of the operation of the conveyance vehicle 2.

For example, the controller 27 may determine that the conveyance vehicle 2 is stopped when the stop of the conveyance vehicle 2 is detected based on both the image processing 3 and the position data of the conveyance vehicle 2. The controller 27 may determine that the conveyance vehicle 2 is operating when the operation of the conveyance vehicle 2 is detected based on at least one of the image processing 3 and the position data of the conveyance vehicle 2.

When the work machine 1 is operating in step S301, the controller 27 acquires the position data of the conveyance vehicle 2 in step S305, and determines a state of the conveyance vehicle 2 based on only the position data of the conveyance vehicle 2 in step 304.

When the conveyance vehicle 2 is operating in step 304, the processing returns to step S301. When the conveyance vehicle 2 is stopped in step 304, the processing proceeds to step S306. In step S306, the controller 27 executes image processing 4. In the image processing 4, the controller 27 detects the bed position of the conveyance vehicle 2 with image recognition technology based on the first image data.

FIG. 23 is a view illustrating an example of an image captured by the first camera 36 when the conveyance vehicle 2 is stopped at the loading position L2. As illustrated in FIG. 23, the image indicated by the first image data includes the bed 53 of the conveyance vehicle 2. When the bed 53 is included in the image indicated by the first image data, the controller 27 recognizes the bed 53 in the image and detects the bed position.

In step S307, the controller 27 determines an error of the bed position. The controller 27 calculates a deviation between the bed position stored by the controller 27 and the bed position detected in step S306. The controller 27 determines that the error is large when the deviation is equal to or greater than a predetermined threshold. When the error of the bed position is large, the processing proceeds to step S308.

In step S308, the controller 27 modifies the unloading position P1. Here, the controller 27 modifies the unloading position P1 determined in step S209 based on the deviation calculated in step S307. When the error of the bed position is small in step S307, the unloading position P1 is not modified and the processing proceeds to step S309.

In step S309, the controller 27 executes automatic unloading. Here, the controller 27 operates the work implement 12 so as to unload the materials held by the bucket 19 onto the bed 53. In step S310, the controller 27 updates the bed position. The controller 27 updates the stored bed position to the bed position detected in step S306.

In step S401 illustrated in FIG. 9, the controller 27 determines whether the loading is finished. The controller 27 determines that the loading is finished when the weight of the materials loaded onto the bed 53 (hereinafter, referred to as “loading amount”) reaches the allowable weight. The controller 27 calculates the loading amount from the load data. Specifically, the controller 27 calculates the weight of the dug materials from the load data. The controller 27 calculates the total value of the weight of the materials loaded onto the bed 53 as the loading amount.

When the controller 27 determines that the loading is not finished in step S401, the processing returns to step S201. The processing from step S201 to step S211 and the processing from step S301 to step S310 is repeated. Consequently, the material digging and loading onto the conveyance vehicle 2 are repeated.

Even when the second and subsequent digging are performed, the controller 27 performs again the measurement of the topography performed in step S201 and updates the topography data with new topography data acquired by the topography sensor 35. In addition, the controller 27 performs again the measurement of the weight of the materials in step S211, and calculates and updates the specific gravity of the materials from the newly measured weight and volume of the materials.

In step S401, when the controller 27 determines that the loading is finished, the processing proceeds to step S402. In step S402, as illustrated in FIG. 17, the controller 27 transmits, to the conveyance vehicle 2, a withdraw command to withdraw from the loading position L2. Upon receiving the withdraw command, the conveyance vehicle 2 starts moving from the loading position L2 toward the dumping position L3.

In step S403, the controller 27 executes the image processing 2. In the image processing 2, the controller 27 detects the presence of the conveyance vehicle 2 in front of the rotating body 13 with image recognition technology based on the first image data in the same way as in step S106. Further, in step S404, the controller 27 communicates with the conveyance vehicle 2 and acquires the position data of the conveyance vehicle 2. Here, the controller 27 receives the position data of the conveyance vehicle 2 via the communication device 38 in the same way as in step S303 and step S305.

Next, in step S405, the controller 27 determines whether the withdrawal is completed. The controller 27 determines whether the withdrawal is completed based on the image processing 2 and the position data of the conveyance vehicle 2. As illustrated in FIG. 18, the controller 27 determines that the withdrawal is completed when it is detected that the conveyance vehicle 2 has moved away from the work machine 1 by a predetermined distance or greater.

For example, the controller 27 calculates the distance between the work machine 1 and the conveyance vehicle 2 based on the first image data. The controller 27 calculates the distance between the work machine 1 and the conveyance vehicle 2 based on the position data. The controller 27 may determine that the conveyance vehicle 2 has withdrawn from the loading position L2 when both the distance calculated from the first image data and the distance calculated from the position data are equal to or greater than a predetermined threshold. Alternatively, the controller 27 may determine that the conveyance vehicle 2 has withdrawn from the loading position L2 when at least one of the distance calculated from the first image data and the distance calculated from the position data is equal to or greater than a predetermined threshold.

When the controller 27 determines that the withdrawal is not completed in step S405, the processing returns to step S403. When the controller 27 determines that the withdrawal is completed in step S405, the processing returns to step S109. That is, when the controller 27 determines that the withdrawal is completed, the controller 27 finishes the loading mode and causes the automatic control mode to transition to the standby mode.

In the control system of the work machine 1 according to the present embodiment explained above, the transition condition for transiting from the standby mode to the loading mode includes the non-detection of a person in the peripheral region of the work machine 1. As a result, the controller 27 can cause the automatic control mode to transition from the standby mode to the loading mode after confirming that no person is in the periphery of the work machine 1 from the images captured by the first camera 36 or the second cameras 37. Consequently, the loading work by the work machine 1 is performed with the automatic control and safety during the loading work can be further improved.

When the presence of a person is detected during the loading mode, the controller 27 stops the operations of the work implement 12 and the rotating body 13. Therefore, when a person has intruded into the periphery of the work machine 1 during the loading work, the work machine 1 is stopped and the loading work is interrupted. Accordingly, safety during the loading work can be further improved.

Although an embodiment of the present invention has been described so far, the present invention is not limited to the above embodiment and various modifications may be made within the scope of the invention.

The work machine 1 is not limited to a hydraulic excavator and may be another machine such as a wheel loader, a motor grader, or the like. The configuration of the work machine 1 is not limited to that of the above embodiment and may be changed. The work machine 1 may be a vehicle driven by an electric motor. For example, the traveling body 52 and/or the rotating body 13 may be driven by an electric motor. The configuration of the work implement 12 may be changed. For example, the work implement 12 is not limited to the bucket 19 and may include another attachment such as a grapple, a fork, a lifting magnet, or the like.

The conveyance vehicle 2 may be a vehicle other than a dump truck. The configuration of the conveyance vehicle 2 is not limited to that of the above embodiment and may be changed. For example, the conveyance vehicle 2 may be a vehicle driven by an electric motor. For example, the traveling body 14 and/or the bed 53 may be driven by an electric motor. The bed 53 of the conveyance vehicle 2 may not be rotatable. The traveling body 52 of the conveyance vehicle 2 may be provided with tires instead of crawler belts. The conveyance vehicle 2 may not be under automatic control and may be manually driven by an operator.

The configurations of the sensors provided on the work machine 1 and the conveyance vehicle 2 are not limited to those of the above embodiment and may be changed. For example, the topography sensor 35 may be disposed in a part other than the side part of the rotating body 13. The topography sensor 35 is not limited to a LIDAR device and may be another sensing device such as a radar device or the like. Alternatively, the topography sensor 35 may be a camera and the controller 27 may recognize the topography by analyzing the images captured by the camera.

The first camera 36 may be disposed in a part other than the front part of the rotating body 13. The second cameras 37 may be disposed in parts other than both side parts and the rear part of the rotating body 13. The number of the second cameras is not limited to three and may be less than three or greater than three.

The controller 27 is not limited to one unit and may be divided into a plurality of controllers. The processing executed by the controller 27 may be distributed and executed among the plurality of controllers. In such a case, a portion of the plurality of controllers may be disposed outside the work machine 1.

The controller 27 of the work machine 1 and the controller 61 of the conveyance vehicle 2 may not communicate with each other directly, and may communicate through another controller. The processing in the automatic control mode executed by the controller 27 is not limited to that of the above embodiment and may be changed. For example, the processing in the standby mode may be changed. The processing in the loading mode may be changed.

In the above embodiment, the controller 27 uses both the first image data and the position data of the conveyance vehicle 2 to determine the approach and the withdrawal of the conveyance vehicle 2. However, the controller 27 may use only one of the first image data and the position data of the conveyance vehicle 2 to determine the approach and/or the withdrawal of the conveyance vehicle 2.

In the above embodiment, the controller 27 uses both the first image data and the position data of the conveyance vehicle 2 to detect the position of the bed 53. However, the controller 27 may use only one of the first image data and the position data of the conveyance vehicle 2 to detect the position of the bed 53.

In the above embodiment, the controller 27 calculates the possible loading weight based on the load data detected by the load sensors 32 a to 32 c. However, the controller 27 may calculate the possible loading weight based on the image of the bed 53 indicated by the first image data. The controller 27 may detect the amount of the materials loaded onto the bed 53 from the image of the bed 53 indicated by the first image data to calculate the possible loading weight from the amount of the loaded materials.

In the above embodiment, the controller 27 detects the presence of a person 100 when the person 100 is included in the images indicated in the first image data or the second image data. However, the controller 27 may detect the distance from the work machine 1 to the person 100 and may determine the presence of the person 100 in accordance to the distance. For example, the controller 27 may determine that the person 100 is present when the distance from the work machine 1 to the person 100 is equal to or less than a predetermined threshold.

In the above embodiment, when the presence of the person 100 is detected during the loading mode, the controller 27 stops the operations of the work implement 12 and the rotating body 13. However, the controller 27 may stop the operation of only one of the work implement 12 and the rotating body 13 when the presence of the person 100 is detected during the loading mode.

Alternatively, the controller 27 may modify the control of the work machine 1 during the loading mode in response to the detected position of the person 100. As illustrated in FIG. 24, the controller 27 may stop the operation of the rotating body 13 when the presence of the person 100 is detected in a first region A1 in the periphery of the work machine 1 during the loading mode. In this case, the controller 27 may allow the operation of the work implement 12. When the presence of a person is detected in a second region A2 in the periphery of the work implement 12 during the loading mode, the controller 27 may stop the operations of the work implement 12 and the rotating body 13. The second region A2 is a region different from the first region A1. However, a portion of the second region A2 may overlap the first region A1.

Specifically, the first region A1 is a predetermined first angular range about the center of rotation of the rotating body 13. The second region A2 is a predetermined second angular range about the center of rotation of the rotating body 13, and the second angular range is narrower than the first angular range. The second angular range is, for example, a range of 90 degrees or less about the center of rotation of the rotating body 13, and the second region A2 includes the direction in which the work implement 12 is disposed with respect to the rotating body 13. That is, the second region A2 is a region of a narrower angular range than the first region A1 that is positioned in front of the rotating body 13. The first angular range is a range excluding the second angular range within a range of 360 degrees about the center of rotation of the rotating body 13.

However, the radius R2 of the second region A2 about the center of rotation of the rotating body 13 is larger than the radius R1 of the first region A1 about the center of rotation of the rotating body 13. That is, the second region A2 is larger than the first region A in the radial direction about the center of rotation of the rotating body 13.

The radius R1 of the first region A1 is larger than the rotation radius R3 of the rotating body 13. This is because even if the controller 27 outputs an instruction to stop the rotating body 13, the rotating body 13 will continue rotating for a few seconds due to inertia. That is, the radius R1 of the first region A1 is larger than the rotation radius R3 of the rotating body 13, whereby the rotating body 13 can be stopped before the person 100 reaches the rotation range of the rotating body 13. In addition, the radius R2 of the second region A2 is larger than the rotation radius R4 of the work implement 12 when the work implement 12 is maximally extended. As a result, the rotating body 13 can be stopped before the person 100 reaches the rotation range of the work implement 12.

According to the present invention, it is possible to perform loading work by the work machine with automatic control and further improve safety during the loading work. 

1. A system for controlling a work machine that loads materials onto a conveyance vehicle, the system comprising: a controller configured to control the work machine in an automatic control mode in which work is performed automatically; and a detection device configured to detect a presence of a person in a peripheral region of the work machine, the automatic control mode including a loading mode in which the work machine is caused to move to perform loading work for loading onto the conveyance vehicle, and an other mode other than the loading mode, the controller being configured to cause the automatic control mode to transition from the other mode to the loading mode when a predetermined transition condition is satisfied, and the predetermined transition condition including non-detection of a person by the detection device.
 2. The system according to claim 1, wherein the work machine includes a work implement, and a rotating body to which the work implement is attached, and the controller is further configured to control the work implement and the rotating body in the loading mode.
 3. The system according to claim 2, wherein when the presence of a person is detected by the detection device during the loading mode, the controller is further configured to stop an operation of at least one of the work implement and the rotating body.
 4. The system according to claim 2, wherein when the presence of a person is detected by the detection device in a first region around the work machine during the loading mode, the controller is further configured to stop an operation of the rotating body, when the presence of a person is detected by the detection device in a second region around the work implement during the loading mode, the controller is further configured to stop an operation of the work implement and the rotating body, and at least a portion of the second region is different from the first region.
 5. The system according to claim 4, wherein the first region is a predetermined first angular range disposed about a center of rotation of the rotating body, the second region is a predetermined second angular range disposed about the center of rotation of the rotating body, and the second angular range is narrower than the first angular range.
 6. The system according to claim 4, wherein a radius of the second region about a center of rotation of the rotating body is larger than a radius of the first region about the center of rotation of the rotating body.
 7. The system according to claim 4, wherein the second region extends in a direction in which the work implement is disposed with respect to the rotating body.
 8. The system according to claim 1, further comprising: an output device configured to communicate with the controller, when the presence of a person is detected by the detection device, the controller is further configured to control the output device to output a warning.
 9. The system according to claim 1, wherein the detection device includes a camera configured to capture a periphery of the work machine, and the controller is further configured to acquire image data indicative of an image of the periphery of the work machine captured by the camera, and detect the presence of a person based on the image data.
 10. A method for controlling a work machine that loads materials onto a conveyance vehicle, the method comprising: detecting a presence of a person in a peripheral region of the work machine; allowing a start of a loading operation by the work machine onto the conveyance vehicle when the presence of a person is not detected; and not allowing the start of the loading operation by the work machine onto the conveyance vehicle when the presence of a person is detected.
 11. The method as in claim 10, further comprising: controlling the work machine in an automatic control mode for performing work automatically, the automatic control mode including a loading mode in which the work machine is caused to move to perform loading work for loading onto the conveyance vehicle, and an other mode other than the loading mode; and causing the automatic control mode to transition from the other mode to the loading mode when the presence of a person is not detected.
 12. The method according to claim 11, wherein the work machine includes a work implement, and a rotating body to which the work implement is attached, and the controlling the work machine includes stopping an operation of at least one of the work implement and the rotating body when the presence of a person is detected by the detection device during the loading mode.
 13. The method according to claim 12, wherein the controlling the work machine includes stopping the operation of the rotating body when the presence of a person is detected by the detection device in a first region around the work machine during the loading mode, and stopping the operation of the work implement and the rotating body when the presence of a person is detected by the detection device in a second region around the work machine during the loading mode, and at least a portion of the second region is different from the first region.
 14. The method according to claim 13, wherein the first region is a predetermined first angular range disposed about a center of rotation of the rotating body, the second region is a predetermined second angular range disposed about the center of rotation of the rotating body, and the second angular range is narrower than the first angular range.
 15. The method according to claim 13, wherein a radius of the second region about a center of rotation of the rotating body is larger than a radius of the first region about the center of rotation of the rotating body. 